# coding=utf-8
"""
Created on 2018年09月17日
"""
from util_base.ufo_decorators import processor
from common_base.cmd import CMD
from processor_base.base_processor import BaseProcessor
# from util_base.exception import ParamException, UFOException as E
# from common_base.errors import AliveError
from setting_base.setting import C


@processor(CMD.CMD_GET_TTC_SDK_CONFIG, internal_access=True)
class GetTTCSdkConfig(BaseProcessor):
    """
    GetTTCSdkConfig
    """
    
    TAG = 'GetTTCSdkConfig'
    
    def __init__(self, handler):
        """
        Constructor
        """
        BaseProcessor.__init__(self, handler)

    def process(self):
        """
        process protocol
        """
        upload_ttc_behavior_log_switch = C('ttc')['switch']['upload_ttc_behavior_log']

        return dict(
            upload_ttc_behavior_log_switch=upload_ttc_behavior_log_switch
        )

    def _verify_params(self):
        """
        重写父类方法, 作参数校验
        """
